package com.example.katalk_nari;

public class ChatItemData {

	public static final int TYPE_DATE = 0;
	public static final int TYPE_SEND = 1;
	public static final int TYPE_RECIVE = 2;
	public static final int TYPE_COUNT = 3;
		
	protected long mDate;
	protected int mMessageType;

	protected ChatItemData(int msgType) {
		//mMessage = msg;
		mDate = System.currentTimeMillis();		
		mMessageType = msgType;
	}
	
	public long getDateTimeMillis() {
		return mDate;
	}
	/*
	public String getDateTimeToString() {
		SimpleDateFormat formatter = new SimpleDateFormat ( "yyyy�� MM�� dd�� E", Locale.KOREA );
		return formatter.format(mDate);
	}
*/
	public int getMessageType() {
		return mMessageType;
	}
	
	
}